{* Smarty *}
{include file="header.tpl" name="The Personal Blog of $author" loggedin="$Loggedin"}
<div class="divMainContent" id="divViewBlog">
<p>&nbsp;<br>
<table width="100%" align="center">
	<tr width="100%" height="50">
		<td align="center">
			<h3>{$author}'s blog</h3>
			 { if $message ne "" }
				<br>{$message}<br>
			{/if}

		</td>
	</tr>
	<tr width="100%">
		<td width="100%" align="center">
			<table>
			{section name="i" loop="$title"}
				<tr width = "100%" align="center">
					<td align="center">
						<h4><i>{$title[i]}</i></h4>
					</td>
				</tr>
				<tr width="100%" align="center">
					<td align="center" width="100%">
						{$content[i]}
					</td>
				</tr>
				<tr width="100%" align="center">
					<td align="center" width="100%">
						<h6>Current Mood: {$mood[i]} | By {$author}</h6><br><center><hr width="60%"></center><br>
					</td>
				</tr>
			{/section}
			</table>
		</td>
	</tr>
</table>
</div>
{include file="footer.tpl"}
